package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 学生表 school_student
 * 
 * @author ruoyi
 * @date 2018-12-11
 */
public class Student extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 学生ID */
	private Integer stuId;
	/** 学生名称 */
	@Excel(name = "学生名称")
	private String stuName;
	/** 显示顺序 */
	private Integer orderNum;
	/** 学生号 */
	@Excel(name = "学生号")
	private String stuNum;
	/** 班级号 */
	private String classNo;
	/** 性别 */
	private String sex;
	/** 生日 */
	private Date birthday;
	/** 状态（0正常 1停用） */
	private String status;
	/** 删除标志（0代表在读 2代表已毕业） */
	private String delFlag;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateTime;

	public void setStuId(Integer stuId) 
	{
		this.stuId = stuId;
	}

	public Integer getStuId() 
	{
		return stuId;
	}
	public void setStuName(String stuName) 
	{
		this.stuName = stuName;
	}

	public String getStuName() 
	{
		return stuName;
	}
	public void setOrderNum(Integer orderNum) 
	{
		this.orderNum = orderNum;
	}

	public Integer getOrderNum() 
	{
		return orderNum;
	}
	public void setStuNum(String stuNum) 
	{
		this.stuNum = stuNum;
	}

	public String getStuNum() 
	{
		return stuNum;
	}
	public void setClassNo(String classNo) 
	{
		this.classNo = classNo;
	}

	public String getClassNo() 
	{
		return classNo;
	}
	public void setSex(String sex) 
	{
		this.sex = sex;
	}

	public String getSex() 
	{
		return sex;
	}
	public void setBirthday(Date birthday) 
	{
		this.birthday = birthday;
	}

	public Date getBirthday() 
	{
		return birthday;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stuId", getStuId())
            .append("stuName", getStuName())
            .append("orderNum", getOrderNum())
            .append("stuNum", getStuNum())
            .append("classNo", getClassNo())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
